package com.xxgc.ssm.dao;

import com.xxgc.ssm.po.Orders;
import com.xxgc.ssm.po.OrdersExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @shi jia yi
 * @date 2021/12/14/10:57
 */
public interface OrdersMapper {
    long countByExample(OrdersExample example);

    int deleteByExample(OrdersExample example);

    int deleteByPrimaryKey(Long oId);

    int insert(Orders record);

    int insertSelective(Orders record);

    List<Orders> selectByExample(OrdersExample example);

    Orders selectByPrimaryKey(Long oId);

    int updateByExampleSelective(@Param("record") Orders record, @Param("example") OrdersExample example);

    int updateByExample(@Param("record") Orders record, @Param("example") OrdersExample example);

    int updateByPrimaryKeySelective(Orders record);

    int updateByPrimaryKey(Orders record);
}